cmake: Shouldn't use sourcedir for building
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Currently cmake plugin runs configuration using the files in SNAPCRAFT_PART_SRC, IMO it should copy them to SNAPCRAFT_PART_BUILD and run against it so that one can patch these files in the build step (before running `snapcraftctl build`).
https://github.com/snapcore/snapcraft/blob/3d4483d6f48d7cc212b9b472438758881252a08a/snapcraft/plugins/cmake.py#L114
Evaluation history
No evaluation history available.